Skip to main content

Fees Collected

Queries the total amount of fees collected by Euclid pools in USD.

query Fees_collected {
pool {
fees_collected {
total_overall
breakdown {
token1
token2
total_fee
}
}
}
}

Example

curl --request POST \
--header 'content-type: application/json' \
--url 'https://testnet.api.euclidprotocol.com/graphql' \
--data '{"query":"query Fees_collected {\n pool {\n fees_collected {\n total_overall\n breakdown {\n token1\n token2\n total_fee\n }\n }\n }\n}"}'

Open in Playground

Return Fields

FieldTypeDescription
total_overallStringThe total fees collected overall in USD from all pools.
breakdownFeesBreakdownA breakdown of the fees collected for each token pair.

Breakdown

FieldTypeDescription
token1StringThe first token in the pair.
token2StringThe second token in the pair.
total_feeStringThe total fee collected for this pair in USD.